package com.centerm.bluetooth.common;

/**
 * Created by linwenhui on 2017/2/16.
 */

public final class Command {

    //终端管理类
    public final static byte[] VERSION = new byte[]{0x01, 0x01};//获得版本
    public final static byte[] RESET = new byte[]{0x01, 0x07};//复位
    public final static byte[] PSAM_TERMINAL = new byte[]{0x01,0x0D};//读取PSAM号和终端号
    public final static byte[] BATTERY = new byte[]{0x01, 0x0E};//电量

    //终端安全类
    public final static byte[] CAL_MAC = new byte[]{0x02, 0x03};//计算MAC

    //磁条卡类
    public final static byte[] OPEN_CARD_READER = new byte[]{0x03, 0x04};//开启读卡器
    public final static byte[] TRADE_DATA = new byte[]{0x03, 0x05};//读取磁道数据

    //PBOC类
    public final static byte[] PBOC = new byte[]{0x05, 0x03};//执行PBOC标准流程
    public final static byte[] PBOC_RESULT = new byte[]{0x05, 0x05};//读取PBOC结果
    public final static byte[] END_PBOC = new byte[]{0x05, 0x09};//结束流程
    public final static byte[] QPBOC = new byte[]{0x05, 0x0E};//执行QPBOC标准流程
    public final static byte[] QPBOC_RESULT = new byte[]{0x05, 0x10};//读取QPBOC结果

    //密码键盘类
    public final static byte[] READ_INPUT_PIN_RESULT = new byte[]{0x04, 0x05};
    public final static byte[] INPUT_PIN = new byte[]{0x04, 0x07};//请求输密

    //终端显示类
    public final static byte[] TERMINAL_DISPLAY = new byte[]{0x07, 0x01};//终端显示


    private Command() {
    }
}
